SOURCES=gdt.o interrupt.o
CFLAGS=-nostdlib -nostdinc -fno-builtin -fno-stack-protector
ASFLAGS=-felf

all: compile move

compile: $(SOURCES) cc

cc:
	$(CC) $(CFLAGS) -c *.c

.s.o:
	nasm $(ASFLAGS) $<

move:
	mv *.o ../compile
